var DX;
if (!DX)
    DX = {};

DX.DatasetMold = DX.BBModel.extend({
    urlRoot: '/datakeeper/api/mold',
    tagField: 'name'
});

DX.DatasetMoldList = DX.BBCollection.extend({
    model: DX.DatasetMold,
    url: '/datakeeper/api/mold',
    tagField: 'name'
});

DX.Dataset = DX.BBModel.extend({
    urlRoot: '/datakeeper/api/dataset',
    tagField: 'name'
});

DX.DatasetList = DX.BBCollection.extend({
    model: DX.Dataset,
    urlRoot: '/datakeeper/api/dataset',
    tagField: 'name'
});